Þ¥bonds€¬cell_resultsŠÙ$a9c0b54c-ba74-41b1-8baf-a02cf3edf764Цqueued¤logs�§running¦output†¤bodyÚ2 ¤mime©text/html¬rootassignee¤cool²last_run_timestampËAÚÿµ»ªÅ°persist_js_state·has_pluto_hook_features§cell_idÙ$a9c0b54c-ba74-41b1-8baf-a02cf3edf764¹depends_on_disabled_cells§runtimeÎ_¾µpublished_object_keys�¸depends_on_skipped_cells§erroredÂÙ$6d43f0c4-2475-44e5-9365-d717f98e3bbaЦqueued¤logs�§running¦output†¤bodyÙ%tex (generic function with 2 methods)¤mimeªtext/plain¬rootassigneeÀ²last_run_timestampËAÚÿµLó°persist_js_state·has_pluto_hook_features§cell_idÙ$6d43f0c4-2475-44e5-9365-d717f98e3bba¹depends_on_disabled_cells§runtimeÎ)´åµpublished_object_keys�¸depends_on_skipped_cells§erroredÂÙ$e59ed5bc-9e19-418a-9b01-ccaea6820096Цqueued¤logs�§running¦output†¤body ¤mimeªtext/plain¬rootassigneeÀ²last_run_timestampËAÚÿµ0«½°persist_js_state·has_pluto_hook_features§cell_idÙ$e59ed5bc-9e19-418a-9b01-ccaea6820096¹depends_on_disabled_cells§runtimeÎoºÆµpublished_object_keys�¸depends_on_skipped_cells§erroredÂÙ$b82b0cdd-58b6-4cd9-8814-4b7046894bceЦqueued¤logs�§running¦output†¤body ¤mimeªtext/plain¬rootassigneeÀ²last_run_timestampËAÚÿ´ÑÅ]°persist_js_state·has_pluto_hook_features§cell_idÙ$b82b0cdd-58b6-4cd9-8814-4b7046894bce¹depends_on_disabled_cells§runtimeÎ÷žäµpublished_object_keys�¸depends_on_skipped_cells§erroredÂÙ$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1Цqueued¤logs�§running¦output†¤body ¤mimeªtext/plain¬rootassigneeÀ²last_run_timestampËAÚÿ´{Íî°persist_js_state·has_pluto_hook_features§cell_idÙ$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1¹depends_on_disabled_cells§runtimeÎ3”qµpublished_object_keys�¸depends_on_skipped_cells§erroredÂÙ$16534443-6fc2-4d48-a821-26b622859a6eЦqueued¤logs�§running¦output†¤body‚£msgÙ#syntax: "\" is not a unary operatorªstacktrace’Œ®source_packageÀ¤file¯syntax error.jl¤func²throw_syntax_errorªcall_shortÙ#throw_syntax_error(syntax_err::Any)§inlined£urlÙbfile:///home/runner/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/display/syntax error.jl¤pathÙ[/home/runner/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/display/syntax error.jl¤callÙ#throw_syntax_error(syntax_err::Any)ªlinfo_type³Core.MethodInstance¤line̲­parent_moduleÀ¦from_cÂŒ®source_packageÀ¤fileÙ4katex fun.jl#==#16534443-6fc2-4d48-a821-26b622859a6e¤func¼##function_wrapped_cell#2041ªcall_short¯top-level scope§inlinedãurlÀ¤pathÙj/home/runner/work/disorganised-mess/disorganised-mess/katex fun.jl#==#16534443-6fc2-4d48-a821-26b622859a6e¤call¯top-level scopeªlinfo_type§Nothing¤line­parent_moduleÀ¦from_c¤mimeÙ'application/vnd.pluto.stacktrace+object¬rootassigneeÀ²last_run_timestampËAÚÿ«²[}°persist_js_state·has_pluto_hook_features§cell_idÙ$16534443-6fc2-4d48-a821-26b622859a6e¹depends_on_disabled_cells§runtimeÀµpublished_object_keys�¸depends_on_skipped_cells§erroredÃÙ$a4c2094f-5e6f-4e4f-8bcb-703513e54c8aЦqueued¤logs�§running¦output†¤bodyÙ}¤mime©text/html¬rootassignee¨smalldog²last_run_timestampËAÚÿµ-7°persist_js_state·has_pluto_hook_features§cell_idÙ$a4c2094f-5e6f-4e4f-8bcb-703513e54c8a¹depends_on_disabled_cells§runtimeÎvεpublished_object_keys�¸depends_on_skipped_cells§erroredÂÙ$c13e40a9-adb2-4679-9839-5b22d2470914Цqueued¤logs�§running¦output†¤bodyÙìquote #= /home/runner/work/disorganised-mess/disorganised-mess/katex fun.jl#==#6d43f0c4-2475-44e5-9365-d717f98e3bba:31 =# Main.workspace#4.SlottedLaTeX(parts = ["\\frac{1 + ", "}{", " + x}"], slots = [Ï€ ^ 2, Scrubbable(5)]) end¤mimeªtext/plain¬rootassigneeÀ²last_run_timestampËAÚÿµìŸs°persist_js_state·has_pluto_hook_features§cell_idÙ$c13e40a9-adb2-4679-9839-5b22d2470914¹depends_on_disabled_cells§runtimeÎ.mµpublished_object_keys�¸depends_on_skipped_cells§erroredÂÙ$34f87c79-bde2-4f80-a598-f02cac3c00d4Цqueued¤logs�§running¦output†¤bodyÚ:

You can use inside markdown!

¤mime©text/html¬rootassigneeÀ²last_run_timestampËAÚÿµÝ8Ú°persist_js_state·has_pluto_hook_features§cell_idÙ$34f87c79-bde2-4f80-a598-f02cac3c00d4¹depends_on_disabled_cells§runtimeÎÐ -µpublished_object_keys�¸depends_on_skipped_cells§erroredÂÙ$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87Цqueued¤logs�§running¦output†¤body‚£msg¼UndefVarError: x not definedªstacktrace‘Œªcall_short¯top-level scope§inlined£urlÀ¤pathÙj/home/runner/work/disorganised-mess/disorganised-mess/katex fun.jl#==#6d0d02ce-d309-4e34-bb4d-2e8dd9712f87®source_packageÀ¤call¯top-level scopeªlinfo_type­Core.CodeInfo¤line¤fileÙ4katex fun.jl#==#6d0d02ce-d309-4e34-bb4d-2e8dd9712f87¤func¯top-level scope­parent_moduleÀ¦from_c¤mimeÙ'application/vnd.pluto.stacktrace+object¬rootassigneeÀ²last_run_timestampËAÚÿµo°persist_js_state·has_pluto_hook_features§cell_idÙ$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87¹depends_on_disabled_cells§runtimeÀµpublished_object_keys�¸depends_on_skipped_cells§erroredñcell_dependenciesŠÙ$a9c0b54c-ba74-41b1-8baf-a02cf3edf764„´precedence_heuristic §cell_idÙ$a9c0b54c-ba74-41b1-8baf-a02cf3edf764´downstream_cells_map‚¤cool‘Ù$34f87c79-bde2-4f80-a598-f02cac3c00d4¡x‘Ù$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87²upstream_cells_map‰¤@tex‘Ù$6d43f0c4-2475-44e5-9365-d717f98e3bba´PlutoRunner.Base.get�«PlutoRunner�Ù#PlutoRunner.PlutoRunner.create_bond�¥@bind�¬SlottedLaTeX‘Ù$e59ed5bc-9e19-418a-9b01-ccaea6820096¨smalldog‘Ù$a4c2094f-5e6f-4e4f-8bcb-703513e54c8a»PlutoRunner.Core.applicable�ªScrubbable�Ù$6d43f0c4-2475-44e5-9365-d717f98e3bba„´precedence_heuristic §cell_idÙ$6d43f0c4-2475-44e5-9365-d717f98e3bba´downstream_cells_map‚¤@tex“Ù$a9c0b54c-ba74-41b1-8baf-a02cf3edf764Ù$34f87c79-bde2-4f80-a598-f02cac3c00d4Ù$c13e40a9-adb2-4679-9839-5b22d2470914£tex�²upstream_cells_mapÞ¡:�§@assert�£esc�¬SlottedLaTeX‘Ù$e59ed5bc-9e19-418a-9b01-ccaea6820096¦String�£Any�£end�£all�¤Expr�£isa�¦length�£===�¥push!�¥throw�®AssertionError�¡+�¢!=�¢==�Ù$e59ed5bc-9e19-418a-9b01-ccaea6820096„´precedence_heuristic §cell_idÙ$e59ed5bc-9e19-418a-9b01-ccaea6820096´downstream_cells_map‚©Base.show‘Ù$e59ed5bc-9e19-418a-9b01-ccaea6820096¬SlottedLaTeX’Ù$a9c0b54c-ba74-41b1-8baf-a02cf3edf764Ù$6d43f0c4-2475-44e5-9365-d717f98e3bba²upstream_cells_map�¢IO�·HypertextLiteral.Bypass�¸HypertextLiteral.content�©@MIME_str�£Any�¦String�¦Vector�¤@htl�ºHypertextLiteral.ScriptTag�¤Base�©Base.show‘Ù$e59ed5bc-9e19-418a-9b01-ccaea6820096£map�«Base.@kwdef�·HypertextLiteral.Result�°HypertextLiteral‘Ù$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1Ù$b82b0cdd-58b6-4cd9-8814-4b7046894bce„´precedence_heuristic§cell_idÙ$b82b0cdd-58b6-4cd9-8814-4b7046894bce´downstream_cells_map�§PlutoUI�²upstream_cells_map€Ù$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1„´precedence_heuristic§cell_idÙ$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1´downstream_cells_map�°HypertextLiteral‘Ù$e59ed5bc-9e19-418a-9b01-ccaea6820096²upstream_cells_map€Ù$16534443-6fc2-4d48-a821-26b622859a6e„´precedence_heuristic §cell_idÙ$16534443-6fc2-4d48-a821-26b622859a6e´downstream_cells_map€²upstream_cells_map‚«PlutoRunner�¾PlutoRunner.throw_syntax_error�Ù$a4c2094f-5e6f-4e4f-8bcb-703513e54c8a„´precedence_heuristic §cell_idÙ$a4c2094f-5e6f-4e4f-8bcb-703513e54c8a´downstream_cells_map�¨smalldog‘Ù$a9c0b54c-ba74-41b1-8baf-a02cf3edf764²upstream_cells_mapƒ¤Base�®Base.Docs.HTML�©@html_str�Ù$c13e40a9-adb2-4679-9839-5b22d2470914„´precedence_heuristic §cell_idÙ$c13e40a9-adb2-4679-9839-5b22d2470914´downstream_cells_map€²upstream_cells_map…¤@tex‘Ù$6d43f0c4-2475-44e5-9365-d717f98e3bba¤Base�¬@macroexpand�°Base.macroexpand�º#___this_pluto_module_name�Ù$34f87c79-bde2-4f80-a598-f02cac3c00d4„´precedence_heuristic §cell_idÙ$34f87c79-bde2-4f80-a598-f02cac3c00d4´downstream_cells_map€²upstream_cells_map…§@md_str�­Base.getindex�¤Base�¤@tex‘Ù$6d43f0c4-2475-44e5-9365-d717f98e3bba¤cool‘Ù$a9c0b54c-ba74-41b1-8baf-a02cf3edf764Ù$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87„´precedence_heuristic §cell_idÙ$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87´downstream_cells_map€²upstream_cells_map�¡x‘Ù$a9c0b54c-ba74-41b1-8baf-a02cf3edf764´cell_execution_orderšÙ$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1Ù$b82b0cdd-58b6-4cd9-8814-4b7046894bceÙ$16534443-6fc2-4d48-a821-26b622859a6eÙ$a4c2094f-5e6f-4e4f-8bcb-703513e54c8aÙ$e59ed5bc-9e19-418a-9b01-ccaea6820096Ù$6d43f0c4-2475-44e5-9365-d717f98e3bbaÙ$a9c0b54c-ba74-41b1-8baf-a02cf3edf764Ù$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87Ù$34f87c79-bde2-4f80-a598-f02cac3c00d4Ù$c13e40a9-adb2-4679-9839-5b22d2470914´last_hot_reload_timeË©shortpath¬katex fun.jl®process_status¥ready¤pathÙB/home/runner/work/disorganised-mess/disorganised-mess/katex fun.jl­pluto_version¨v0.19.47®last_save_timeËAÚÿ«¬¹íªcell_orderšÙ$16534443-6fc2-4d48-a821-26b622859a6eÙ$a9c0b54c-ba74-41b1-8baf-a02cf3edf764Ù$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87Ù$34f87c79-bde2-4f80-a598-f02cac3c00d4Ù$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1Ù$b82b0cdd-58b6-4cd9-8814-4b7046894bceÙ$6d43f0c4-2475-44e5-9365-d717f98e3bbaÙ$c13e40a9-adb2-4679-9839-5b22d2470914Ù$a4c2094f-5e6f-4e4f-8bcb-703513e54c8aÙ$e59ed5bc-9e19-418a-9b01-ccaea6820096±published_objects€¥nbpkgНinstall_time_nsÏÙz@Ϭinstantiatedòinstalled_versions‚§PlutoUI¦0.7.37°HypertextLiteral¥0.9.3°terminal_outputsƒªnbpkg_syncÚÎ Instantiating... ===  Installed Parsers ─ v2.2.3 Installed PlutoUI ─ v0.7.37  Resolving... ===  No Changes to `/tmp/jl_rZxAdt/Project.toml`  Updating `/tmp/jl_rZxAdt/Manifest.toml`  [7b1f6079] + FileWatching Precompiling... ===  Activating project at `/tmp/jl_rZxAdt` Precompiling project... 3 dependencies successfully precompiled in 30 seconds (13 already precompiled)§PlutoUIÚÎ Instantiating... ===  Installed Parsers ─ v2.2.3 Installed PlutoUI ─ v0.7.37  Resolving... ===  No Changes to `/tmp/jl_rZxAdt/Project.toml`  Updating `/tmp/jl_rZxAdt/Manifest.toml`  [7b1f6079] + FileWatching Precompiling... ===  Activating project at `/tmp/jl_rZxAdt` Precompiling project... 3 dependencies successfully precompiled in 30 seconds (13 already precompiled)°HypertextLiteralÚÎ Instantiating... ===  Installed Parsers ─ v2.2.3 Installed PlutoUI ─ v0.7.37  Resolving... ===  No Changes to `/tmp/jl_rZxAdt/Project.toml`  Updating `/tmp/jl_rZxAdt/Manifest.toml`  [7b1f6079] + FileWatching Precompiling... ===  Activating project at `/tmp/jl_rZxAdt` Precompiling project... 3 dependencies successfully precompiled in 30 seconds (13 already precompiled)§enabled÷restart_recommended_msgÀ´restart_required_msgÀ­busy_packages�¶waiting_for_permissionÂÙ,waiting_for_permission_but_probably_disabled«cell_inputsŠÙ$a9c0b54c-ba74-41b1-8baf-a02cf3edf764„§cell_idÙ$a9c0b54c-ba74-41b1-8baf-a02cf3edf764¤codeÙ�cool = @tex(""" f(x) = \\oint_{ x \\in \\mathbb{R} } \\frac{ 1 + $(smalldog) }{ $(@bind x Scrubbable(5)) + x } """)¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$6d43f0c4-2475-44e5-9365-d717f98e3bba„§cell_idÙ$6d43f0c4-2475-44e5-9365-d717f98e3bba¤codeÚ˜begin macro tex(x) tex(x) end # `_str` macros with interpolation are not reactive in pluto 🙈 until https://github.com/fonsp/Pluto.jl/pull/1032 is fixed. :(( #macro tex_str(_x::String) # x = Meta.parse("\"" * _x * "\"") # tex(x) #end function tex(ex::Expr) @assert ex.head === :string if ex.args[1] isa String parts = String[ex.args[1]] slots = Any[] else parts = ["\\hspace{0pt}"] slots = [ex.args[1]] end for x in ex.args[2:end] if x isa String all(==(' '), x) ? push!(parts, "\\hspace{0pt}") : push!(parts, x) else length(parts) != length(slots) + 1 && push!(parts, "\\hspace{0pt}") push!(slots, x) end end if length(slots) == length(parts) push!(parts, "\\hspace{0pt}") end quote SlottedLaTeX( parts = $parts, slots = [$(esc.(slots)...)], ) end end function tex(x::String) SlottedLaTeX( parts=[x], slots=[], ) end end¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$e59ed5bc-9e19-418a-9b01-ccaea6820096„§cell_idÙ$e59ed5bc-9e19-418a-9b01-ccaea6820096¤codeÚWbegin Base.@kwdef struct SlottedLaTeX parts::Vector{String} slots::Vector{Any} # displaymode::Bool=true end function Base.show(io::IO, m::MIME"text/html", sl::SlottedLaTeX) h = @htl(""" """) Base.show(io, m, h) end end¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$b82b0cdd-58b6-4cd9-8814-4b7046894bce„§cell_idÙ$b82b0cdd-58b6-4cd9-8814-4b7046894bce¤code­using PlutoUI¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1„§cell_idÙ$2b72a4ec-c88e-11eb-30b1-8d574ab0e3f1¤code¶using HypertextLiteral¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$16534443-6fc2-4d48-a821-26b622859a6e„§cell_idÙ$16534443-6fc2-4d48-a821-26b622859a6e¤codeÙD$f(x) = \oint_{ x \in \mathbb{R} } \frac{ 1 + â € }{ â � + x } $¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$a4c2094f-5e6f-4e4f-8bcb-703513e54c8a„§cell_idÙ$a4c2094f-5e6f-4e4f-8bcb-703513e54c8a¤codeÙ“smalldog = html""" """¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$c13e40a9-adb2-4679-9839-5b22d2470914„§cell_idÙ$c13e40a9-adb2-4679-9839-5b22d2470914¤codeÙB@macroexpand @tex("""\\frac{1 + $(Ï€^2)}{$(Scrubbable(5)) + x}""")¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$34f87c79-bde2-4f80-a598-f02cac3c00d4„§cell_idÙ$34f87c79-bde2-4f80-a598-f02cac3c00d4¤codeÙblet sl = @tex("Slotted\\LaTeX") md""" You can use $(sl) inside markdown! $(cool) """ end¨metadataƒ©show_logsèdisabled®skip_as_script«code_foldedÂÙ$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87„§cell_idÙ$6d0d02ce-d309-4e34-bb4d-2e8dd9712f87¤code¡x¨metadataƒ©show_logsèdisabled®skip_as_script«code_folded«notebook_idÙ$5274ac10-4aa4-11f0-0506-11faa1c7d499«in_temp_dir¨metadata€